package com.mcode.blog.service;

import com.mcode.blog.vo.CategoryVo;

import java.util.List;

public interface CategoryService {

    /**
     * 根据id获取分类信息
     *
     * @param id
     * @return
     */
    CategoryVo findCategoryById(Long id);


    /**
     * 获取分类
     *
     * @return
     */
    List<CategoryVo> selectCate();


    CategoryVo cateDetailById(Long id);
}
